package com.petAdoption.manager.service.impl;

import com.petAdoption.manager.entity.Productlist;
import com.petAdoption.manager.mapper.ProductMapper;
import com.petAdoption.manager.mapper.ProductlistMapper;
import com.petAdoption.manager.service.IProductlistService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.petAdoption.manager.vo.ProductlistVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 王倩茹
 * @since 2023-08-28
 */
@Service
public class ProductlistServiceImpl extends ServiceImpl<ProductlistMapper, Productlist> implements IProductlistService {
    @Resource
    private ProductlistMapper productlistMapper;
    @Override
    public List<ProductlistVO> findAll() {
        return productlistMapper.findAll();
    }
}
